package cn.itsource.org.service;

import cn.itsource.basic.util.QueryResult;
import cn.itsource.org.domain.Department;
import cn.itsource.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService {
    void add(Department department);
    void remove(Long id);
    void update(Department department);

    Department loadOne(Long id);
    List<Department> loadAll();

    QueryResult<Department> queryPage(DepartmentQuery query);
}
